<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>IS_EQUAL</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="internals2.opcodes.instanceof.html">INSTANCEOF</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="internals2.opcodes.is-identical.html">IS_IDENTICAL</a></div>
 <div class="up"><a href="internals2.opcodes.list.html">Opcode Descriptions and Examples</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="internals2.opcodes.is-equal" class="section">
 <h2 class="title">IS_EQUAL</h2>
 <div class="section" id="internals2.opcodes.is-equal.code">
  <h2 class="title">PHP code</h2>
  <div class="example-contents">
   <div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">/*<br />&nbsp;*&nbsp;compares&nbsp;if&nbsp;value1&nbsp;and&nbsp;value2&nbsp;are&nbsp;equal<br />&nbsp;*&nbsp;opcode&nbsp;number:&nbsp;17<br />&nbsp;*/<br /></span><span style="color: #007700">echo&nbsp;(</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br />echo&nbsp;(</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #DD0000">'c'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
  </div>

 </div>
 <div class="section" id="internals2.opcodes.is-equal.listing">
  <h2 class="title">PHP opcodes</h2>
  <p class="simpara">Function name: (null)</p>
  <p class="simpara">Compiled variables: none </p>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>line</th><th>#</th><th>op</th>
      <th>fetch</th><th>ext</th><th>return</th>
      <th>operands</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>6</td><td>0</td>
      <td>IS_EQUAL</td><td class="empty">&nbsp;</td>
      <td class="empty">&nbsp;</td><td>~0</td>
      <td>1,1</td>
     </tr>

     <tr>
      <td class="empty">&nbsp;</td><td>1</td>
      <td>ECHO</td><td class="empty">&nbsp;</td>
      <td class="empty">&nbsp;</td><td class="empty">&nbsp;</td>
      <td>~0</td>
     </tr>

     <tr>
      <td>7</td><td>2</td>
      <td>IS_EQUAL</td><td class="empty">&nbsp;</td>
      <td class="empty">&nbsp;</td><td>~1</td>
      <td>1,&#039;c&#039;</td>
     </tr>

     <tr>
      <td class="empty">&nbsp;</td><td>3</td>
      <td>ECHO</td><td class="empty">&nbsp;</td>
      <td class="empty">&nbsp;</td><td class="empty">&nbsp;</td>
      <td>~1</td>
     </tr>

     <tr>
      <td>8</td><td>4</td>
      <td>RETURN</td><td class="empty">&nbsp;</td>
      <td class="empty">&nbsp;</td><td class="empty">&nbsp;</td>
      <td>1</td>
     </tr>

    </tbody>
   
  </table>

 </div>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="internals2.opcodes.instanceof.html">INSTANCEOF</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="internals2.opcodes.is-identical.html">IS_IDENTICAL</a></div>
 <div class="up"><a href="internals2.opcodes.list.html">Opcode Descriptions and Examples</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
